package club.dmyang.common.vo;

/**
 * Created by brss on 2018/7/15.
 */
public class EditorMdImgResp {

    private Integer success;// 0 表示上传失败，1 表示上传成功

    private  String message;

    private String url;

    public EditorMdImgResp() {
    }

    /**
     * 成功时调用
     * @param url
     */
    public EditorMdImgResp(String url) {
        success = 1;
        message = "上传成功";
        this.url = url;
    }

    public Integer getSuccess() {
        return success;
    }

    public void setSuccess(Integer success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
